// TaskHeatVO.java
package com.example.demo.controller;

import lombok.Data;
import java.util.List;

@Data
public class TaskHeatVO {
    private String courseId;
    private List<HeatItemVO> viewHeatList; // 按查看频次排序
    private List<HeatItemVO> discussionHeatList; // 按讨论频次排序

    @Data
    public static class HeatItemVO {
        private Long taskId;
        private String taskName;
        private Integer count; // 频次
        private Integer rank;  // 排名
    }
}